﻿<%@ Register TagPrefix="Common" Namespace="Lx.Web.Common.UI" Assembly="Web.Common" %>
<%@ Register TagPrefix="DT" Namespace="Lx.Web.Common.UI" Assembly="Web.Common" %>
<%@ Control Language="c#" AutoEventWireup="false" Inherits="Web.Control.Member.User.Login" %>
<div class="common">
    <div class="topmenu_op">
        <div style="text-align: left; margin: 10px 0px 10px 0px">
            <div style="float: left; width: 208px"><a href="/"><img src="/Images/newLogow.gif" border="0" alt="<%=GetText("C0053")%>" /></a></div>
            <div style="float: right; width: 550px; text-align: right"></div>
            <div class="clear"></div>
        </div>
    </div>
    <div class="topmenu_text">
        <div class="topmenu_text_site">
            <ul id="nav_manu"><li class="menu_left"><a href="/"><%=GetText("M0001")%></a> | <%=GetText("C0071")%></li>
                <li class="menu_right"><%=GetText("C0085")%> <a href="/user/register.htm"><%=GetText("C0072")%></a></li>
            </ul>
            <div class="clear"></div>
        </div>
    </div>
    <div id="new_body">
        <div id="body_900">
	<div class="submenu3"></div>
            <div id="body_main">
                <asp:PlaceHolder ID="plhMsg" runat="server" Visible="false">
                    <div>
                        <div class="MessagePanel2">
                            <img src="/images/ico_info.gif" style="border-width: 0px;" />
                            <div><asp:Literal ID="litMsg" runat="server" /></div>
                        </div>
                    </div>
                </asp:PlaceHolder>
				<div class="submenuN">
					<div class="submenuN_position">
						<div class="submenuN_title">
							<div class="submenuN_Btitle">
								<h1>Sign In</h1>
							</div>
							<div class="submenuN_button"></div>
						</div>
					</div>
				</div>
                <div class="Center9001n">
                    <div class="center9001rightU">
						<div class="center9001content">
							<div class="login_area">
							<!--Stand content start-->
								<div class="margin20D" style="line-height: 2">
									<strong><%=GetText("UR013")%></strong>
									<br />
									<input type="text" id="Username" name="Username" class="Input_Big" size="25" maxlength="100" value="<%=ShowEmail%>" />
									<span id="valPas" style="color: Red; display: none;" class="red10"><br /><%=GetText("C1013")%></span>
									<br />
								</div>
								<div class="margin20D" style="line-height: 2">
									<strong><%=GetText("UR014")%></strong>
									<br />
									<input type="password" id="UserPassword" name="UserPassword" class="Input_Big" size="25" maxlength="20" onkeydown="$Enter$(event,LoginButton)" />
									<span id="valPas1" style="color: Red; display: none;" class="red10"><br /><%=GetText("UR015")%></span>
									<br /><a href="/user/getmypassword.htm"><%=GetText("UR004")%></a>
								</div>
								<div>
									<div class="floatl"><a href="#" id="LoginButton" class="specbtn" style="text-decoration:none"><span>&nbsp;&nbsp;&nbsp;<%=GetText("C0071")%>&nbsp;&nbsp;&nbsp;</span></a></div>
									<div class="floatl grey11">&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" id="CheckBox1" name="CheckBox1" checked="checked" /> <%=GetText("UR016")%></div>
									<div class="clear"></div>
								</div>
							<!--Stand content endEnabled="False"-->
							</div>
						</div>
                    </div>
					<div class="Center9001LeftU">
						<div class="right_layerA" >
							<div class="layer_contentA" style="background-color:#fff">
								<h4><%=GetText("C0085")%></h4>
								<div class="layer_contentA5U" style="width:auto"><%=GetText("UR079")%>
								<div class="margin10 floatl"><a class="addbtn" href="/user/register.htm" style="text-decoration:none"><span>&nbsp;&nbsp;&nbsp;<%=GetText("UR073")%>&nbsp;&nbsp;&nbsp;</span></a></div><div class="clear"></div>
								</div>
							</div>
						</div>
					</div>
                    <div class="clear"></div>
                </div>
            </div>
            <div class="clear"></div>
        </div>
        <div id="body_900F"></div>
    </div>
</div>
<input type="hidden" id="SaveFlag" name="SaveFlag" value="0" />
<input type="hidden" name="ViewStateReturnUrl" value="<%=ViewStateReturnUrl%>" />
<script>
$addHandler($get("LoginButton"),"click",Save);
$addHandler($get("Username"),"click",Svaedi);
$addHandler($get("UserPassword"),"click",Svaedi);
function Save()
{
    $("SaveFlag").value = "0";
    $("valPas").style.display="none";
    $("valPas1").style.display="none";
    if($("Username").value==""||$("UserPassword").value=="")
    {
        if($("Username").value=="")
        {
            $("valPas").style.display="";
        }
        if($("UserPassword").value=="")
        {
            $("valPas1").style.display="";
        }
         return;
    }
    else
    {
        $("SaveFlag").value = "1";
        $("Form1").submit();
    }
}

function Svaedi()
{
   if( $("LoginButton").disabled)
   {
    $("LoginButton").disabled=false;
   }
}
// -->
</script>

